#include "KinectDemo.h"
using namespace std;

KinectDemo::KinectDemo(void)
{	
}

KinectDemo::~KinectDemo(void)
{
}

std::vector<Point> KinectDemo::getViaPoints()  //Simuliamo il kinect dato che non lo avremo realmente
{
	int type = rand() % 3;
	vector<Point> vec;
	switch(type){    
		case 0:
			vec.push_back(Point(2, 8, 10));
			vec.push_back(Point(10, 0, 10));
			vec.push_back(Point(2, 0, 18));
			break;
		case 1:
			vec.push_back(Point(5, 5, 10));
			vec.push_back(Point(5, 6, 10));
			vec.push_back(Point(5, 7, 10));
			break;
		case 2:
			vec.push_back(Point(4, 8, 10));
			vec.push_back(Point(7, 4, 10));
			vec.push_back(Point(5, 7, 10));
			break; 
		default:
			vec.push_back(Point(4, 8, 10));
			vec.push_back(Point(7, 4, 10));
			vec.push_back(Point(5, 7, 10));
	}
	return vec;
		
}